package com.lxp.uCenterService.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lxp.uCenterService.domain.UCenterMember;
import com.lxp.uCenterService.vo.RegisterVo;
import com.lxp.uCenterService.vo.UserQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author lxp
 * @since 2021-12-07
 */
public interface UCenterMemberService extends IService<UCenterMember> {

    String login(UCenterMember member);

    void register(RegisterVo registerVo);

    UCenterMember getUserLogin(HttpServletRequest request);

    void updatePassword(UCenterMember member, String code);

    Page<UCenterMember> queryUserByCondition(long current, int limit, UserQuery userQuery);
}
